package com.dms.modules.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel("敏感词DTO")
public class SensitiveWordDTO {

    @NotBlank(message = "敏感词不能为空")
    @ApiModelProperty("敏感词")
    private String word;

    @ApiModelProperty("敏感词类型：1-政治敏感 2-色情低俗 3-暴力恐怖 4-广告营销 5-其他")
    private Integer type;

    @ApiModelProperty("处理方式：1-替换 2-删除 3-审核")
    private Integer handleType;

    @ApiModelProperty("替换内容")
    private String replaceContent;
} 